<!DOCTYPE html>
<html lang="en">
<head>
    {%load static%}
    <meta charset="UTF-8">
    <title>资产管理登陆系统</title>
    <link rel="stylesheet" href="static/login/css/bootstrap.css">
    <style>
        #a112{
           margin-left: 18%;
        }
        #a113{
            margin-left: 38%;
        }
    </style>
</head>
<div class = 'container' id = 'a113'>
<h1>资产统计明细</h1>
</div>
<body>
               <div class="container" id = 'a112'>
                   <form action="">
                  <table border="1px">
                     <tr>
                        <td width="120px">序号</td>
                        <td width="120px">资产名</td>
                        <td width="120px">数量</td>
                        <td width="120px">房间</td>
                        <td width="120px">备注</td>
                        <td width="120px">用户名</td>
                     </tr>
                     {%for x in context%}
                        <tr>
                           <td width="120px">{{forloop.counter}}</td>
                           <td width="120px">{{x.asset.asset_name}}</td>
                           <td width="120px">{{x.asset_num}}</td>
                           <td width="120px">{{x.room.room_num}}</td>
                           <td width="120px">{{x.room.user.user_name}}</td>
                           <td width="120px"></td>


                        </tr>
                     {%endfor%}
                  </table>
                       </form>
                  </div>
</body>
</html>